﻿<!DOCTYPE html>
<html>
<head>
<title>通知公告 - {$:#.org.org_platformname}</title>
<vt:include file="inc/meta.inc" />
<script type="text/javascript" src="Scripts/notices.js?ver={$version}"></script>
<link href="Styles/notices.css?ver={$version}" rel="stylesheet" type="text/css" />
</head>
<body>
<vt:include file="inc/Header.html" />

<div id="Context">
<div id="LeftBox">
    <div id="newsBar">通知公告</div>
    <!--通知公告 -->
    <div id="newsList">
    <vt:if var="pageAmount.Length" value="1" compare="<">
    <div class="noNews">没有通知公告</div>
    <vt:else />
      <vt:foreach id="notice" from="$#.notice" item="data" index="i" size="4" introlen="150" remark="columns为资讯栏目Id,introlen为简介的长度">
        <!--资讯项 -->
        <div class="newsItem">
          <div class="newsTitleBar">
            <div class="newsTitle"> <a href="/notice.ashx?id={$:#.data.no_id}" title="{$:#.data.no_ttl}">{$:#.data.no_ttl}</a></div>
            <div class="newsTime">{$:#.data.no_starttime  format="yyyy-M-dd"}</div>
          </div>
          <div class="newsContent">
           
              <div class="newsIntro1"> <a href="/notice.ashx?id={$:#.data.no_id}" >{$:#.data.no_context}</a></div>
            
          </div>
        </div>
      </vt:foreach>
      </vt:if>
    </div>
    <!--分页导航 -->
    <vt:if var="pageAmount.Length" value="1" compare=">">
      <div id="pagerBar">
        <div class="pagerFirst pagerBtn"><a href="/notices.ashx">首页</a></div>
        <!--上一页 -->
        <vt:expression var="pagerPrev" expression="{0}-1" args="$pageIndex" />
        <vt:if var="#.pagerPrev" value="1" compare="<">
          <div class="pagerPrev pagerBtn"><a href="#">上一页</a></div>
          <vt:else />
          <div class="pagerPrev pagerBtn"><a href="/notices.ashx?index={$:#.pagerPrev}">上一页</a></div>
        </vt:if>
        <!--分页数字 -->
        <vt:foreach id="pageAmount" from="$#.pageAmount" item="data" index="i" remark="分页数字">
          <vt:if var="#.data" value="$pageIndex" compare="=">
            <div class="pagerIndex pagerBtn pagerCurr"><a href="/notices.ashx?index={$:i}">{$:i}</a></div>
            <vt:else />
            <div class="pagerIndex pagerBtn"><a href="/notices.ashx?index={$:i}">{$:i}</a></div>
          </vt:if>
        </vt:foreach>
        <!--下一页 -->
        <vt:expression var="pagerNext" expression="{0}+1" args="$pageIndex" />
        <vt:if var="#.pagerNext" value="$pageAmount.Length" compare=">">
          <div class="pagerNext pagerBtn"><a href="#">下一页</a></div>
          <vt:else />
          <div class="pagerNext pagerBtn"><a href="/notices.ashx?index={$:#.pagerNext}">下一页</a></div>
        </vt:if>
        <div class="pagerLast pagerBtn"><a href="/notices.ashx?id={$:pageAmount.length}">末页</a></div>
      </div>
    </vt:if>
  </div>
  <div id="RightBox">
    <div class="box">
      <div class="boxBar">
        <div class="title"> 资讯</div>
        <div class="more"> <a href="/news.ashx">更多&gt;&gt;</a></div>
      </div>
      <div class="nolist">
        <vt:foreach id="newslist" from="$#.newslist" item="data" index="i" count="10" >
          <div class="item" noid="{$:#.data.no_id}">
             <img src="images/{$:i}.png"/><a href="/article.ashx?id={$:#.data.art_id}" title="{$:#.data.art_title}"> {$:#.data.art_title}</a> 
            <div class="noTime">{$:#.data.art_pushTime  format="[MM-dd]"}</div>
          </div>
        </vt:foreach>
      </div>
    </div>
  </div>
</div>
<vt:include file="inc/footer.html" />
</body>
</html>
